home *** CD-ROM | disk | FTP | other *** search
/ PC to Maximum / PC-na-maximum.bin / TempClean for MS-DOS / tmpclean.bat < prev   
Encoding:
DOS Batch File  |  2000-05-29  |  1.7 KB  |  64 lines

  1. rem TempClean for MS-DOS version 1. Alton Nutile
  2. rem or Milan Jaukovic  cannot take responsibilty 
  3. rem for  any lost  data  after using  TempClean.
  4. rem This file is freeware and can be distributed
  5. rem in its original archive. All trademarks are
  6. rem hereby acknowlegded.
  7.  
  8. @echo off
  9. echo.
  10. echo    ________   _____    __      __   ____          
  11. echo   [__    __] [   __]  [  \    /  ] [  _  \        
  12. echo      [  ]    [  [_    [   \  /   ] [ ]_[  ▌       
  13. echo      [  ]    [   _]   [    \/    ] [   __/        
  14. echo      [  ]    [  [__   [  ]\__/[  ] [  ]           
  15. echo      [__]    [_____]  [__]    [__] [__]           
  16. echo                                         CLEAN FOR 
  17. echo                    version 1.             MS-DOS. 
  18. echo                 By Alton Nutile.                  
  19. echo.
  20. echo.
  21. echo Many programs in Windows and MS-DOS make temporary
  22. echo files to store data in if there is not enough free
  23. echo memory.  The programs usually delete the temporary
  24. echo files on exit,  but many fail to do so and leave a
  25. echo large amount of files wasting space.  This program
  26. echo will empty  the directories that store temp files,
  27. echo namely the
  28. echo.
  29. echo  C:\TEMP and
  30. echo  C:\WINDOWS\TEMP
  31. echo.
  32. choice /c:YN directories. Do you want to go ahead 
  33. if errorlevel 2 goto Finish
  34. if errorlevel 1 goto Start1
  35.  
  36.  
  37. :Start1
  38. echo.
  39. cd\
  40. cd\temp
  41. if not exist *.* goto Start2
  42. del *.*
  43.  
  44.  
  45. :Start2
  46. echo.
  47. cd\
  48. cd\windows\temp
  49. if not exist *.* goto Finish
  50. del *.*
  51.  
  52.  
  53. :Finish
  54. echo.
  55. echo Thank you for using TempClean for MS-DOS, based on
  56. echo TempClean for Windows  by Milan Jaukovic.  You can
  57. echo e-mail Alton Nutile at alton.nutile@cwcom.net with
  58. echo comments, suggestions or fault reporting.
  59. echo.
  60.  
  61.  
  62. :End
  63. cd\
  64. pause